package com.spcmg.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 字典表
 * </p>
 *
 * @author admin
 * @since 2021-04-13
 */
@Data
@TableName("spc_dict")
public class SpcDict implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键Id
     */
    @TableId(value = "DICT_ID", type = IdType.AUTO)
    private Long dictId;

    /**
     * 数据Id
     */
    @TableField("DATA_ID")
    private Integer dataId;

    /**
     * 数据名
     */
    @TableField("DATA_NAME")
    private String dataName;

    /**
     * 数据值
     */
    @TableField("DATA_VALUE")
    private String dataValue;

    /**
     * 数据描述
     */
    @TableField("DATA_DESC")
    private String dataDesc;

    /**
     * 字典父Id
     */
    @TableField("PARENT_ID")
    private Integer parentId;

    /**
     * 字典类型
     */
    @TableField("DICT_TYPE")
    private String dictType;


}
